package com.haiyou.dc.api.strategy;

import com.haiyou.mini.programs.strategy.WxMiniPayStrategy;
import com.haiyou.mini.programs.strategy.WxPayType;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

/**
 * 订单处理策略
 */
@WxPayType(attach = "order")
@Slf4j
@Component
public class OrderStrategy implements WxMiniPayStrategy {

    @Override
    public void payHandler(String type) {
        log.info("-------->订单处理策略={}", type);
        System.out.println(type);
    }
}
